
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '财务结算信息',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'jsfsbh_7d105f52_el68',
        name: "{{jsfsbh_7d105f52_el68}}",
        binding: 'jsfsbh',
        updateOn: 'blur',
        defaultI18nValue: '结算方式编号',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    jsfsbh: FormControl;

    @NgFormControl({
        id: 'jsfsmc_5510dff8_w3vt',
        name: "{{jsfsmc_5510dff8_w3vt}}",
        binding: 'jsfsmc',
        updateOn: 'blur',
        defaultI18nValue: '结算方式名称',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    jsfsmc: FormControl;

    @NgFormControl({
        id: 'jsfsbz_ef02f387_ju2o',
        name: "{{jsfsbz_ef02f387_ju2o}}",
        binding: 'jsfsbz',
        updateOn: 'blur',
        defaultI18nValue: '结算方式备注',
    })
    jsfsbz: FormControl;

}